<?
require_once("lang.php");
$start_time = microtime_float();
//ob_start("callback");

//Đếm số lượng người truy cập
$db_visited	= new db_execute("UPDATE visited SET vis_counter = vis_counter + 1");
unset($db_visited);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="keywords" content="<?=str_replace("\n", "", htmlspecialchars($con_meta_keywords))?>">
<meta name="description" content="<?=str_replace("\n", "", htmlspecialchars($con_meta_description))?>">
<meta name="revisit-after" content="1 days" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link href="<?=$gs_imagepath?>favicon.ico" rel="icon" type="image/x-icon">
<link href="<?=$gs_imagepath?>favicon.ico" rel="shortcut icon">
<title><?=$con_site_title?></title>
<link href="<?=$gs_imagepath?>favicon.ico" rel="icon" type="image/x-icon" />
<link href="<?=$gs_imagepath?>favicon.ico" rel="shortcut icon" />
<title><?=$site_title?></title>
<style type="text/css" media="all">@import "<?=$theme_csspath?>main.css";</style>
<style type="text/css" media="all">@import "<?=$theme_csspath?>thickbox.css";</style>
<style type="text/css" media="all">@import "<?=$theme_imagepath?>theme.css";</style>
<style type="text/css">
    #top_header 
    {
        width: 100%;
        height: 181px;
        background-image: url('/images/top_header.jpg');
    }
    #container_footer {
        background: -moz-linear-gradient(center top , #353535 0%, #1C1B1B 100%) repeat scroll 0 0 transparent;
    }
</style>
</head>
<body<?=$body_style?>>
    <div id="body"<?=$div_id_body_style?>>
        <div id="top_header">
            <div style="height: 40px;color:#ffffff;font-weight:bold;">
                <div style="width: 1000px;height: 100%;margin: 0 auto;overflow: hidden;"><? include($real_path . "includes/inc_top_header.php");?></div>
            </div>
            <div id="container_body">
                <div id="container_header"><? include($real_path . "includes/inc_header.php");?></div>
                <div id="container_content">
                    <div id="container_content_left">
                    <?
                    include($real_path . "includes/inc_module_left_menu_product.php");
                    //include($real_path . "includes/inc_module_online_support.php");
                    include($real_path . "includes/inc_module_left_banner.php");
                    include($real_path . "includes/inc_module_statistic.php");
                    ?>
                    </div>
                    <div id="container_content_center">
                    <?
                    include($real_path . "includes/inc_module_introduce.php");
                    include($real_path . "includes/inc_module_center_search_form.php");
                    include($real_path . "includes/inc_module_product_by_cat.php");
                    ?>
                    </div>
                    <div id="container_content_right">
                    <?
                    include($real_path . "includes/inc_module_new_products.php");
                    include($real_path . "includes/inc_module_hot_news.php");  
                    include($real_path . "includes/inc_module_right_banner.php");
                    ?>
                    </div>
                    <div class="clear"></div>
                </div>
                <div id="container_footer"><? include($real_path . "includes/inc_footer.php");?></div>
            </div>
        </div>
    </div>
</body>
</html>
<?
//ob_end_flush();
?>